Computing Loops with at Most One External Support Rule for Basic Logic Programs with Arbitrary Constraint Atoms

نویسندگان

  • Jianmin Ji
  • Fangzhen Lin
  • Jia-Huai You
چکیده

The well-founded semantics of logic programs is not only an important semantics but also serves as an essential tool for program simplification in answer set computations. Recently, it has been shown that for normal and disjunctive programs, the well-founded models can be computed by unit propagation on program completion and loop formulas of loops with no external support. An attractive feature of this approach is that when loop formulas of loops with exactly one external support are added, consequences beyond the well-founded model can be computed, which sometimes can significantly speed up answer set computation. In this paper, we extend this approach to basic logic programs with abstract constraint atoms. We define program completion and loop formulas and show how to capture the well-founded semantics that approximate answer sets of basic logic programs. We show that by adding the loop formulas of loops with one external support, consequences beyond well-founded models can be computed. Our experiments show that for certain logic programs with constraints accepted by lparse, the consequences computed by our algorithms can speed up current ASP solvers smodels and clasp.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Computing Loops with at Most One External Support Rule for Disjunctive Logic Programs

We extend to disjunctive logic programs our previous work on computing loop formulas of loops with at most one external support. We show that for these logic programs, loop formulas of loops with no external support can be computed in polynomial time, and if the given program has no constraints, an iterative procedure based on these formulas, the program completion, and unit propagation compute...

متن کامل

Characterizations of stable model semantics for logic programs with arbitrary constraint atoms

This paper studies the stable model semantics of logic programs with (abstract) constraint atoms and their properties. We introduce a succinct abstract representation of these constraint atoms in which a constraint atom is represented compactly. We show two applications. First, under this representation of constraint atoms, we generalize the Gelfond-Lifschitz transformation and apply it to defi...

متن کامل

Extensions of Answer Set Programming

We discuss a number of possible extensions of Answer Set Programming. The four formalisms we investigate are: 1. logic programs where the negative parts of the bodies in clauses can be replaced by arbitrary constraints which we call Arbitrary Constraint Logic Programming (ACLP), 2. logic programs where we are allowed arbitrary set constraint atoms, 3. logic programs where atoms represent sets f...

متن کامل

A Well-Founded Semantics for Basic Logic Programs with Arbitrary Abstract Constraint Atoms

Logic programs with abstract constraint atoms proposed by Marek and Truszczynski are very general logic programs. They are general enough to capture aggregate logic programs as well as recently proposed description logic programs. In this paper, we propose a wellfounded semantics for basic logic programs with arbitrary abstract constraint atoms, which are sets of rules whose heads have exactly ...

متن کامل

Loop Formulas for Logic Programs with Arbitrary Constraint Atoms

We formulate loop formulas for logic programs with arbitrary constraint atoms, for the semantics based on conditional satisfaction. This provides a method for answer set computation by computing models of completion. One particular attractive candidate for the latter task is pseudo-boolean constraint solvers. To strengthen this connection, we show examples of compact encoding of aggregates and ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • TPLP

دوره 13  شماره 

صفحات  -

تاریخ انتشار 2013